package com.qifan.energy.bean.result;

import com.google.gson.annotations.SerializedName;

public class PayOrderWechatResult {

    /**
     * nonce_str : 5NfN8rSUfkvZLdmP //随机字符串,随机字符串，不长于32位。推荐随机数生成算法
     * appid : wx20c7e656d497fb5e
     * sign : 2C0058351CF09DCDAE16919E52A327C6 签名，详见签名生成算法注意：签名方式一定要与统一下单接口使用的一致
     * trade_type : APP
     * return_msg : OK
     * result_code : SUCCESS
     * mch_id : 1600788957 //微信支付分配的商户号
     * return_code : SUCCESS
     * prepay_id : wx12091822257833504cba12511083399600 //微信返回的支付交易会话ID
     * timeStamp : 时间戳，请见接口规则-参数规定
     */

    private String appid;
    private String partnerid;
    private String prepayid;
    @SerializedName("package")
    private String packageX;
    private String noncestr;
    private String timestamp;
    private String sign;

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getPartnerid() {
        return partnerid;
    }

    public void setPartnerid(String partnerid) {
        this.partnerid = partnerid;
    }

    public String getPrepayid() {
        return prepayid;
    }

    public void setPrepayid(String prepayid) {
        this.prepayid = prepayid;
    }

    public String getPackageX() {
        return packageX;
    }

    public void setPackageX(String packageX) {
        this.packageX = packageX;
    }

    public String getNoncestr() {
        return noncestr;
    }

    public void setNoncestr(String noncestr) {
        this.noncestr = noncestr;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getPackageValue(){
        return "Sign=WXPay";
    }

    public String getSignType(){
        return "MD5";
    }
}
